#ifndef QJSGAUGE_H
#define QJSGAUGE_H

#include <QWebEngineView>

class JsGaugePrivate;
class Translator;
class JsGauge : public QWebEngineView
{
    Q_OBJECT
public:
    explicit JsGauge(QWidget* parent = nullptr);
    ~JsGauge();

    void setValue(int value);
    int value() const;

    Translator* translator() const;

private slots:

private:
    JsGaugePrivate* d_ptr;
    Q_DISABLE_COPY(JsGauge)
};

#endif // QJSGAUGE_H
